package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.Dev;
import com.ruoyi.system.mapper.DevMapper;
import com.ruoyi.system.service.DevService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DevServiceImpl implements DevService {
    @Autowired
    private DevMapper devMapper;

    @Override
    public int addDev(Dev dev) {
        return devMapper.addDev(dev);
    }

    @Override
    public Dev Listid() {
        return devMapper.listid();
    }

    @Override
    public int deleteDev(Integer devId) {
        return devMapper.deleteDev(devId);
    }

    @Override
    public void updDev(Dev dev) {
        devMapper.updDev(dev);
    }


}
